
<template>
  <div class="item">
    <div class="item-content">
      <img :src="item">
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      list: []
    };
  },
  props: ["item"],
};
</script>
<style scoped>
.item {
  display: inline-block;
  width: 20%!important;
  background: url("../../static/img2/img09.png");
  background-size: 100% 100%;
  padding: 7px 12px 18px 11px;
  box-sizing: border-box;
  margin-left: 6%;
}
.item img {
  width: 100%;
  margin: 20px 0;
}

.item .name-con {
  width: 100%;
  text-align: center;
  display: block;
  color: #000;
  font-size: 18px;
  padding: 3px;
  box-sizing: border-box;
}
.item-content {
  position: relative;
  height: 100%;
  border-radius: 10px;
  text-align: center;
  padding: 5px 0 5% 0;
}
.item-content img {
  border-radius: 14px;
}
</style>

<style>
.item.show {
  position: relative;
  z-index: 9;
}
.item.show .item-content > img {
  transform: scale(2);
  transition: all 1s;
}
.item.now .item-content > img {
  transform: scale(1);
}
</style>